package com.hui.demo.service.impl;

import com.hui.demo.model.UserAttachmentRel;
import com.hui.demo.repository.UserAttachmentRelRepository;
import com.hui.demo.service.UserAttachmentRelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 用户附件服务层实现类
 * @author ziv
 * @date 2019-01-03
 */
@Service
public class UserAttachmentRelServiceImpl implements UserAttachmentRelService {

    @Resource
    private UserAttachmentRelRepository userAttachmentRelRepository;

    @Override
    public  UserAttachmentRel save(UserAttachmentRel userAttachmentRel) {
        return userAttachmentRelRepository.save(userAttachmentRel);
    }
}
